<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
<head>
<p:resources />
<title>GAE + PrimeFaces + Spring + Maven</title>
</head>
<body>

<!--<p:editor />-->

<h1>GAE + PrimeFaces + Spring + Maven</h1>
This is a sample project showing integration of:
<ul>
<li>Google App Engine (GAE) - for hosting</li> 
<li>Spring - for ease in server side development</li> 
<li>JSF - PrimeFaces - for nice GUI</li>
<li>Maven - for build management</li>
</ul> 
<a href="http://eriahit.wordpress.com/2010/01/19/gae-primefaces-spring-maven/">Go here to have a look how it was done</a>

<p></p>
<a href="createBook.jsf">Create a book</a>

<h:form prependId="false">

	<p:dataTable id="books" value="#{searchBooksController.books}"
		var="book" emptyMessage="No books found" rows="5" paginator="true">
		<p:column>
			<f:facet name="header">
				<h:outputText value="Title" />
			</f:facet>
			<h:outputText value="#{book.title}" />
		</p:column>
		<p:column>
			<f:facet name="header">
				<h:outputText value="Author" />
			</f:facet>
			<h:outputText value="#{book.author}" />
		</p:column>

<!--		<p:column>-->
<!--			<f:facet name="header">-->
<!--				<h:outputText value="" />-->
<!--			</f:facet>-->
<!--			<p:commandLink update="View" oncomplete="detailsDialog.show();"-->
<!--				title="detailsTable">-->
<!--				<p:graphicImage value="/images/zoom.png" style="border:0px;" />-->
<!--				<f:setPropertyActionListener value="#{book}"-->
<!--					target="#{searchBooksController.book}" />-->
<!--			</p:commandLink>-->
<!--		</p:column>-->

	</p:dataTable>

</h:form>




<!--<p:dialog header="Book Details" widgetVar="detailsDialog"-->
<!--	fixedCenter="true">-->
<!--	<h:panelGrid id="detailsTable" columns="2" width="300px">-->
<!--		<h:outputText value="Title" />-->
<!--		<h:outputText value="#{searchBooksController.book.title}" />-->
<!---->
<!--		<h:outputText value="Author" />-->
<!--		<h:outputText value="#{searchBooksController.book.author}" />-->
<!---->
<!--	</h:panelGrid>-->
<!--</p:dialog>-->

</body>
</html>